﻿
﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
﻿using OgilvyOne.UKNow.Model;

namespace OgilvyOne.UKNow.Mobile.Model.Events
{
    [Serializable]
    [DataContract]
    public class EventInfo
    {
        private string eventid;//// 1,

        [DataMember(Name = "eventid")]
        public string Eventid
        {
            get { return eventid; }
            set { eventid = value; }
        }
        private string title;//：private  flog活动标题’,
        [DataMember(Name = "title")]
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private string subtitle;// private  活动副标题’,
        [DataMember(Name = "subtitle")]
        public string Subtitle
        {
            get { return subtitle; }
            set { subtitle = value; }
        }
        private string sponsor; //：’活动赞助商’,
        [DataMember(Name = "sponsor")]
        public string Sponsor
        {
            get { return sponsor; }
            set { sponsor = value; }
        }
        private string artname;//  活动艺术形式’,
        [DataMember(Name = "artname")]
        public string Artname
        {
            get { return artname; }
            set { artname = value; }
        }
        private string city;// private  活动举办城市名称’,
        [DataMember(Name = "city")]
        public string City
        {
            get { return city; }
            set { city = value; }
        }
        private string showtime;// private  活动举办时间’,

        [DataMember(Name = "showtime")]
        public string Showtime
        {
            get { return showtime; }
            set { showtime = value; }
        }
        private string venue;// private  活动举办地点’,
        [DataMember(Name = "venue")]
        public string Venue
        {
            get { return venue; }
            set { venue = value; }
        }
        private string desc;// private  活动简介’,
        [DataMember(Name = "desc")]
        public string Desc
        {
            get { return desc; }
            set { desc = value; }
        }
        private string listimg;//’活动列表图’,
        [DataMember(Name = "listimg")]
        public string Listimg
        {
            get { return listimg; }
            set { listimg = value; }
        }
        private string topimg;//’活动置顶图’,
        [DataMember(Name = "topimg")]
        public string Topimg
        {
            get { return topimg; }
            set { topimg = value; }
        }
        private string isfeature;// private  是否特色活动 1：是，0：否’,
        [DataMember(Name = "isfeature")]
        public string Isfeature
        {
            get { return isfeature; }
            set { isfeature = value; }
        }
        private string url;// ‘活动url’
        [DataMember(Name = "url")]
        public string Url
        {
            get { return url; }
            set { url = value; }
        }
        private string comment_count;
        [DataMember(Name = "comment_count")]
        public string Comment_count
        {
            get { return comment_count; }
            set { comment_count = value; }
        }
        private string favorite_count;
        [DataMember(Name = "favorite_count")]
        public string Favorite_count
        {
            get { return favorite_count; }
            set { favorite_count = value; }
        }
        private string up_count;
        [DataMember(Name = "up_count")]
        public string Up_count
        {
            get { return up_count; }
            set { up_count = value; }
        }
        private string checkin_count;
        [DataMember(Name = "checkin_count")]
        public string Checkin_count
        {
            get { return checkin_count; }
            set { checkin_count = value; }
        }

        List<PhoneImage> _images = new List<PhoneImage>();
        [DataMember(Name = "images")]
        public List<PhoneImage> Images
        {
            get { return _images; }
            set { _images = value; }
        }

        [DataMember(Name = "longitude")]
        public string Longitude { get; set; }

        [DataMember(Name = "latitude")]
        public string Latitude { get; set; }

        [DataMember(Name = "other_cities")]
        private List<string> _otherCities = new List<string>();
        public List<string> OtherCities
        {
            get { return _otherCities; }
            set { _otherCities = value; } 
        }

        /// <summary>
        /// 手机活动举办地点
        /// </summary>
        private string _map_venue;
        [DataMember(Name = "map_venue")]
        public string map_venue
        {
            get { return _map_venue; }
            set { _map_venue = value; }
        }
    }
}

